package org.example.myprojectbackend.entity.vo.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName AuthorizeVO
 * @Author liupanpan
 * @Date 2025/1/3
 * @Description
 */
//页面响应登录用户的详细信息
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AuthorizeVO {
    String token;
    String username;
    Date expireTime;
    String role;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
